<!DOCTYPE html>

<!--[if IE 8]> <html lang="zh" class="ie8 no-js"> <![endif]-->

<!--[if IE 9]> <html lang="zh" class="ie9 no-js"> <![endif]-->

<!--[if !IE]><!--> <html lang="zh" class="no-js"> <!--<![endif]-->

<head>

    <script src="/at/media/js/jquery-1.10.1.min.js" type="text/javascript"></script>
    <script src="/at/media/js/app.js" type="text/javascript"></script>

    <meta charset="utf-8" />

    <title>拓声官网后台管理系统</title>

    <meta content="width=device-width, initial-scale=1.0" name="viewport" />

    <meta content="" name="description" />

    <meta content="" name="author" />

    <!-- BEGIN GLOBAL MANDATORY STYLES -->

    <link href="/at/media/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

    <link href="/at/media/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>

    <link href="/at/media/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

    <link href="/at/media/css/style-metro.css" rel="stylesheet" type="text/css"/>

    <link href="/at/media/css/style.css" rel="stylesheet" type="text/css"/>

    <link href="/at/media/css/style-responsive.css" rel="stylesheet" type="text/css"/>

    <link href="/at/media/css/default.css" rel="stylesheet" type="text/css" id="style_color"/>

    <link href="/at/media/css/uniform.default.css" rel="stylesheet" type="text/css"/>

    <!-- END GLOBAL MANDATORY STYLES -->

    <!-- BEGIN PAGE LEVEL STYLES -->

    @yield('pluginStyle')

    {{-- Data Table css ：可筛选table  --}}
    <link rel="stylesheet" href="/at/media/css/DT_bootstrap.css" />
    {{-- End Data Table css --}}

    <!-- END PAGE LEVEL STYLES -->

    <link rel="shortcut icon" href="/at/media/image/favicon.ico" />

    <style>
        *:not(i) {
            font-family: 'Microsoft YaHei UI', '微软雅黑', 'Arial' , 'HeiTi SC' ,sans-serif !important;
        }
    </style>

</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed page-footer-fixed" id="v_app">

<!-- BEGIN HEADER -->

<div class="header navbar navbar-inverse navbar-fixed-top">

    <!-- BEGIN TOP NAVIGATION BAR -->

    <div class="navbar-inner">

        <div class="container-fluid">

            <!-- BEGIN LOGO -->

            <a class="brand" href="/admin/index">

                {{--<img src="/at/media/image/benyaminlogo.jpg" alt="logo" width="90px"  />--}}
                <h4>拓声官网后台管理系统</h4>
            </a>

            <!-- END LOGO -->

            <!-- BEGIN RESPONSIVE MENU TOGGLER -->

            <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">

                <img src="/at/media/image/menu-toggler.png" alt="" />

            </a>

            <!-- END RESPONSIVE MENU TOGGLER -->

            <!-- BEGIN TOP NAVIGATION MENU -->

            <ul class="nav pull-right">


                <!-- BEGIN USER LOGIN DROPDOWN -->

                <li class="dropdown user">

                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">

                        <img alt="" src="/at/media/image/avatar1_small.jpg" />

                            <span class="username">{{ auth()->guard('web-admin')->user()->name }}</span>

                        <i class="icon-angle-down"></i>

                    </a>

                    <ul class="dropdown-menu">

                        <li><a href="{{ route('web-logout') }}"><i class="icon-key"></i>退出登录</a></li>

                    </ul>

                </li>

                <!-- END USER LOGIN DROPDOWN -->

            </ul>

            <!-- END TOP NAVIGATION MENU -->

        </div>

    </div>

    <!-- END TOP NAVIGATION BAR -->

</div>

<!-- END HEADER -->

<!-- BEGIN CONTAINER -->

<div class="page-container">

    <!-- BEGIN SIDEBAR -->

    <div class="page-sidebar nav-collapse collapse">

        <!-- BEGIN SIDEBAR MENU -->

        <ul class="page-sidebar-menu">

            <li>

                <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

                <div class="sidebar-toggler hidden-phone" style="margin-bottom: 20px"></div>

                <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

            </li>

            <li class="{{ (Request::is('admin/news/*')  ? 'active' : '') }}">

                <a href="javascript:;">

                    <i class="icon-book"></i>

                    <span class="title">新闻管理</span>

                    <span class="arrow "></span>

                </a>

                <ul class="sub-menu">

                    <li class="{{ (Request::is('admin/news/edit_news')  ? 'active' : '') }}">

                        <a href="{{ url('/admin/news/edit_news') }}">

                            新闻</a>

                    </li>

                    {{--<li class="{{ (Request::is('admin/news/news-figure')  ? 'active' : '') }}">--}}

                        {{--<a href="{{ url('/admin/news/news-figure') }}">--}}

                            {{--新闻轮播图</a>--}}

                    {{--</li>--}}

                    <li class="{{ (Request::is('admin/news/type-tag')  ? 'active' : '') }}">

                        <a href="{{ url('/admin/news/type-tag') }}">

                            分类标签</a>

                    </li>

                </ul>

            </li>


            <li class="{{ (Request::is('admin/video/*')  ? 'active' : '') }}">

                <a href="javascript:;">

                    <i class="icon-film"></i>

                    <span class="title">视频管理</span>

                    <span class="arrow "></span>

                </a>

                <ul class="sub-menu">

                    <li class="{{ (Request::is('admin/video/web-video')  ? 'active' : '') }}">

                        <a href="{{ url('/admin/video/web-video') }}">

                            视频</a>

                    </li>

                </ul>

            </li>

            <li class=" {{ (Request::is('admin/feedback')  ? 'active' : '') }} ">
                <a href="{{ url('admin/feedback') }}">
                    <i class="icon-bullhorn"></i>
                    <span class="title">反馈消息</span>
                </a>
            </li>

        </ul>

        <!-- END SIDEBAR MENU -->

    </div>

    <!-- END SIDEBAR -->

{{-- 主要内容 --}}

<!-- BEGIN PAGE -->

    <div class="page-content">

        <div id="portlet-config" class="modal hide">

            <div class="modal-header">

                <button data-dismiss="modal" class="close" type="button"></button>

                <h3>插件？</h3>

            </div>

            <div class="modal-body">

                Widget settings form goes here

            </div>

        </div>

        <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->

        @yield('pageContainer')

    </div>

    <!-- END PAGE -->

</div>

<!-- END CONTAINER -->

<!-- BEGIN FOOTER -->

<div class="footer">

    <div class="footer-inner">

        2014-{{ date('Y') }} &copy; 拓声. Powered by Panxsoft.

    </div>

    <div class="footer-tools">

			<span class="go-top">

			<i class="icon-angle-up"></i>

			</span>

    </div>

</div>

<!-- END FOOTER -->

<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->

<!-- BEGIN CORE PLUGINS -->

{{--<script src="/at/media/js/jquery-1.10.1.min.js" type="text/javascript"></script>--}}

<script src="/at/media/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>

<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->

<script src="/at/media/js/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>

<script src="/at/media/js/bootstrap.min.js" type="text/javascript"></script>

<!--[if lt IE 9]>

<script src="/at/media/js/excanvas.min.js"></script>

<script src="/at/media/js/respond.min.js"></script>

<![endif]-->

<script src="/at/media/js/jquery.slimscroll.min.js" type="text/javascript"></script>

<script src="/at/media/js/jquery.blockui.min.js" type="text/javascript"></script>

<script src="/at/media/js/jquery.cookie.min.js" type="text/javascript"></script>

<script src="/at/media/js/jquery.uniform.min.js" type="text/javascript" ></script>
<script src="/at/media/js/button-submit-able.js"></script>

<!-- END CORE PLUGINS -->

{{-- Data Table JS : 加载顺序不能反 --}}
<script type="text/javascript" src="/at/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/at/media/js/DT_bootstrap.js"></script>
{{-- End Data Table JS --}}

@yield('pluginScript')


<!-- BEGIN PAGE LEVEL SCRIPTS -->

<script src="/at/media/js/app.js" type="text/javascript"></script>

<script src="/at/media/js/index.js" type="text/javascript"></script>

@yield('pageScript')

<!-- END PAGE LEVEL SCRIPTS -->

<script>
    $(function(){
        $('.dataTable').delegate('.del-line','click',function () {
            return confirm("确定删除？");
        });
    });
</script>

<script>

    jQuery(document).ready(function() {

        App.init(); // initlayout and core plugins

        @yield('pluginInit')

    });

</script>

<script>

    $(function(){
//        alert($("#hidden").find('ul').find("li").find('a').length);
        if ( $("#hidden").find('ul').find("li").find('a').length == 0 )
        {
            $("#hidden").hide();
        }
    });

</script>

<!-- END JAVASCRIPTS -->

</body>

<!-- END BODY -->

</html>